package com.leoren.run.common;

/**
 * @Author Leoren
 * @Date 2019/3/2 11:08
 * 存放一些常量
 */
public class Const {

    public static final String LOCATION_TYPE = "LOCATION_TYPE";
    public static final String GET_MAP_ID = "GET_MAP_ID";
    public static final String GET_COMMENT_IMG = "GET_COMMENT_IMG";
    public static final String START_SHARE = "START_SHARE";
    public static final String ANNOUNCE = "ANNOUNCE";

    public interface ActivityForResult{
        int UN_READ_NEW_FRIEND = 88;
    }



    public interface LocationType{
        int INTER_TYPE = 1;
        int NATIONAL_TYPE = 2;
        int NEAR_TYPE = 3;
        int ALL_TYPE = 4;
    }


    public static String BASEURL = "http://10.0.0.2:8080/wheretoplay_war";


    //普通用户登录方式
    public interface UserLoginType{
        public int USERNAME = 1;  //用户名登录
        public int PHONE = 2;  //手机号登录
        public int EMAIL = 3;  //email登录
    }

    /**
     * 聊天室的类型
     */
    public interface ChatType{
        int FRIENDTYPE = 1;  //一对一聊天
        int CHATROOMTYPE = 2;  //多人聊天群聊
    }

    public interface ChatMessageType{
        int LOGOUT_TYPE = -1;
        int LOGIN_TYPE = 0;
        int TEXT_TYPE = 1;
        int PICTURE_TYPE = 2;
        int AUDIO_TYPE = 3;
        int VIDEO_TYPE = 4;
        int FILE_TYPE = 5;
        int LOCATION_TYPE = 6;
        int SCENIC_TYPE = 7;

    }

    /**
     * 从聊天列表向聊天Activity中传值所用的key
     */
    public interface ChatTypeStr{
        String FRIENDTYPESTR = "FRIENDTYPESTR";
        String CHATROOMTYPESTR = "CHATROOMTYPESTR";
    }

    /*=========================好友模块=================================*/
    public static final String NEWFRIENDCOUNT = "NEWFRIENDCOUNT";


    /*=========================我的模块=================================*/
    public interface SexCode{
        int MALE = 1;
        int FEMALE = 2;
    }


}
